package com.atguigu.gmall.cart.api;

import com.atguigu.gmall.cart.bean.Cart;
import com.atguigu.gmall.common.bean.ResponseVo;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * @author Aupt
 * @create 2022-06-13-12:10
 */
public interface GmallCartApi {
    @GetMapping("check/{userId}")
    ResponseVo<List<Cart>> queryCheckedCarts(@PathVariable("userId") Long userId);
}
